package org.smart.framework.core;

import org.smart.framework.core.helper.*;
import org.smart.framework.core.util.ClassUtil;

/**
 * @author lyric
 * @version 1.0.0
 * @date 2017/2/9 10:43
 * @description 加载相应的 Helper 类
 */
public final class HelperLoader {

    /**
     * @author lyric
     * @description 初始化
     */
    public static void init() {
        Class<?>[] classList = {
            ClassHelper.class,
            BeanHelper.class,
            AopHelper.class,
            IocHelper.class,
            ControllerHelper.class
        };
        for (Class<?> cls : classList) {
            ClassUtil.loadClass(cls.getName());
        }
    }
}
